package tliasweb.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class DemoProperties {


    @Value("${demo.hobby[0]}")
    private String hobby0;

    @Value("${demo.hobby[1]}")
    private String hobby1;

    @Value("${demo.hobby[2]}")
    private String hobby2;

}
